package com.fowo.api.model.fee.manager.son;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/**
 * 费用管理子表 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Getter
@Setter
public class FeeManagerSonImportPo {

  /** 所属费用管理 */
  @ExcelProperty("所属费用管理")
  private String feeManagerFormIdFeeCode;

  @ExcelIgnore
  @Schema(title = "所属费用管理")
  private String feeManagerFormId;

  /** FNSKU */
  @ExcelProperty("FNSKU")
  @Size(max = 50, message = "FNSKU长度不能超过50")
  private String listingIdFnsku;

  @ExcelIgnore
  @Schema(title = "FNSKU")
  private String listingId;

  /** MSKU */
  @ExcelProperty("MSKU")
  @Size(max = 50, message = "MSKU长度不能超过50")
  private String msku;

  /** ASIN */
  @ExcelProperty("ASIN")
  @Size(max = 50, message = "ASIN长度不能超过50")
  private String asin;

  /** 父ASIN */
  @ExcelProperty("父ASIN")
  @Size(max = 50, message = "父ASIN长度不能超过50")
  private String parentAsin;

  /** SKU */
  @ExcelProperty("SKU")
  @Size(max = 50, message = "SKU长度不能超过50")
  private String sku;

  /** 店铺 */
  @ExcelProperty("店铺")
  @Size(max = 50, message = "店铺长度不能超过50")
  private String sidShopName;

  @ExcelIgnore
  @Schema(title = "店铺")
  private String sid;

  /** 原币金额 */
  @ExcelProperty("*原币金额")
  @NotBlank(message = "原币金额不能为空")
  @DecimalString(message = "原币金额小数格式不正确", label = "原币金额")
  private String originCurrency;

  /** 本位币金额 */
  @ExcelProperty("本位币金额")
  @DecimalString(message = "本位币金额小数格式不正确", label = "本位币金额")
  private String baseCurrencyAmount;

  /** 备注 */
  @ExcelProperty("备注")
  @Size(max = 500, message = "备注长度不能超过500")
  private String comment;
}
